x <- matrix(1:10,nrow=2,ncol=5)
x[2,2]
x[2,]
x[,2]
x[2,c(2,4)]

x <- matrix(1:9,nrow=3)
x*x
x%*%x
